From d2e80a79934ea59e13e7fe3c4d078e8f7b428213 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Wed, 13 Jan 2016 23:42:35 -0500 Subject: [PATCH] font chooser: Add a CSS name The CSS name for GtkFontChooserWidget is fontchooser. --- gtk/gtkfontchooserwidget.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/gtk/gtkfontchooserwidget.c b/gtk/gtkfontchooserwidget.c index 62e7c0aa19..0f6208285e 100644 --- a/gtk/gtkfontchooserwidget.c +++ b/gtk/gtkfontchooserwidget.c @@ -70,6 +70,10 @@ * gtk_font_chooser_set_preview_text(). * * Since: 3.2 + * + * # CSS nodes + * + * GtkFontChooserWidget has a single CSS node with name fontchooser. */ @@ -611,6 +615,8 @@ gtk_font_chooser_widget_class_init (GtkFontChooserWidgetClass *klass) gtk_widget_class_bind_template_callback (widget_class, row_deleted_cb); gtk_widget_class_bind_template_callback (widget_class, size_change_cb); gtk_widget_class_bind_template_callback (widget_class, output_cb); + + gtk_widget_class_set_css_name (widget_class, "fontchooser"); } static void -- 2.30.2